package com.wjc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;


@SpringBootApplication
@MapperScan("com.wjc.mapper")//配置扫描mapper接口包，动态实现mapper接口注入到spring容器中 取代以前的ssm xml配置
@EnableCaching  //开启缓存注解
public class StoreDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(StoreDemoApplication.class, args);
    }

}
